package com.hmh.student.students.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hmh.student.students.entity.StudentCourse;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xyf
 * @since 2025-04-16
 */
public interface IStudentCourseService extends IService<StudentCourse> {

    Page<StudentCourse> queryStudentCoursePage(Integer studentNo, Integer courseNo, Integer pageSize, Integer current);


    List<Integer> getCourseByStudentId(Integer studentNo);


    boolean assignCourses(Integer studentNo, List<Integer> courseNo);
}
